package com.angel.email.configuration.builders.impl.lycos;

import com.angel.common.keyValue.KeyValueResult;
import com.angel.common.keyValue.impl.KeyValueImpl;
import com.angel.common.keyValue.impl.KeyValueResultImpl;
import com.angel.email.account.AccountInformation;
import com.angel.email.configuration.builders.OutgoingEmailConfigurationBuilder;
import com.angel.email.constants.EmailPropertyConstants;

/**
 *
 * @author William
 *
 */
public class LycosOutgoingEmailConfigurationBuilder extends OutgoingEmailConfigurationBuilder{

	public LycosOutgoingEmailConfigurationBuilder(AccountInformation accountInformation){
		super(accountInformation);
	}

	public KeyValueResult buildOutgoingEmailConfiguration() {
		KeyValueResult result = new KeyValueResultImpl();

		result.addKeyValue(new KeyValueImpl(EmailPropertyConstants.EMAIL_OUTGOING_URL, "smtp.mail.lycos.com"));
		result.addKeyValue(new KeyValueImpl(EmailPropertyConstants.EMAIL_OUTGOING_PORT, "25"));

		return result;
	}


}
